package com.t.blog.service;

import com.t.blog.mongodb.dao.base.IBaseDao;
import com.t.blog.mongodb.vo.ArticleVo;
import org.t.pro.pojo.AdminQueryArticlePojo;
import org.t.pro.pojo.AdminSaveArticlePojo;

import java.util.List;

/**
* @author a0000
* @description 针对表【article】的数据库操作Service
* @createDate 2024-02-05 23:08:07
*/
public interface ArticleService extends IBaseDao<ArticleVo> {

    List<AdminQueryArticlePojo> getArticleList();


    AdminQueryArticlePojo getArticleContentById(AdminQueryArticlePojo pojo);

    void saveArticle(AdminSaveArticlePojo pojo);

    void motifyArticle(AdminSaveArticlePojo pojo);
}
